Lua/Server/World
From JC2-MP Documentation
Note: You can access the default world with the DefaultWorld global.
Static functions
 
 
 
 Returns
 
 Prototype
 
 
 World
 
 Create()
 
  World
 
 GetById(number)
 
Functions
 
 
 
 Returns
 
 Prototype
 
 
 iterator
 
 GetCheckpoints()
 
 
 number
 
 GetId()
 
 
 iterator
 
 GetPlayers()
 
 
 iterator
 
 GetStaticObjects()
 
 
 number
 
 GetTime()
 
 
 number
 
 GetTimeStep()
 
 
 object
 
 GetValue(string)
 
 
 iterator
 
 GetVehicles()
 
 
 number
 
 GetWeatherSeverity()
 
 
 iterator
 
 GetWorldNetworkObjects()
 
 
 
 Remove()
 
 
 
 SetTime(number)
 
 
 
 SetTimeStep(number)
 
 
 
 SetValue(string, object)
 
 
 
 SetWeatherSeverity(number)
 
Operators
 
 
 
 
 
 Returns
 
 Prototype
 
 
 
 World == World
 

